﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true" CodeBehind="UpdatePassword.aspx.cs" Inherits="Web2014112110.UpdatePassword1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:Image ID="Image2" runat="server" Height="39px" ImageUrl="~/Images/ae.jpg" Width="42px" />
    <asp:Label ID="lblTitle0" runat="server" Font-Bold="False" Font-Names="华文琥珀" Font-Size="XX-Large" ForeColor="#000066" style="text-align: left" Text="学生信息管理系统"></asp:Label>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <asp:Label ID="lblUser" runat="server" Font-Bold="False" Font-Names="楷体" Font-Size="Medium" ForeColor="#000066" style="text-align: left" Text="当前登录用户："></asp:Label>
    <asp:Label ID="lblNowUser" runat="server" Font-Bold="True" Font-Names="楷体" Font-Size="Medium" ForeColor="#000066"></asp:Label>
    <asp:Label ID="lblType" runat="server" Font-Bold="False" Font-Names="楷体" Font-Size="Medium" ForeColor="#000066" Text="用户类型："></asp:Label>
    <asp:Label ID="lblUserType" runat="server" Font-Bold="True" Font-Names="楷体" Font-Size="Medium" ForeColor="#000066">教师</asp:Label>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder3" runat="server">
    <p>
        <asp:TreeView ID="TreeView1" runat="server" DataSourceID="SiteMapDataSource1" ShowLines="True" Font-Bold="True" Font-Names="楷体" Font-Size="Large" ForeColor="#000066">
        </asp:TreeView>
        <asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" SiteMapProvider="web2"/>
    </p>
    <p>
        <asp:Label ID="userName0" runat="server" Font-Bold="True" Font-Italic="False" Font-Names="楷体" Font-Size="Medium" ForeColor="#3333CC"></asp:Label>
    </p>
    <p>
        <asp:Image ID="Image" runat="server" Height="87px" ImageUrl="~/Images/a.jpg" Width="87px" ImageAlign="Middle" />
    </p>
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="ContentPlaceHolder5" runat="server">
    <asp:Label ID="lblCopyright" runat="server" Font-Bold="True" Font-Names="楷体" Font-Size="Medium" ForeColor="#000066" Text="Number：@2014112110；Name：@林丽鸿"></asp:Label>
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="ContentPlaceHolder4" runat="server">
    <p style="text-align: left">
        &nbsp;</p>
    <p style="text-align: center">
        &nbsp;</p>
    <p style="text-align: center">
        <asp:Label ID="lblTitle" runat="server" Font-Bold="True" Font-Names="楷体" Font-Size="X-Large" ForeColor="#000066" Text="更改密码"></asp:Label>
    </p>
    <p style="text-align: center">
        &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;
        <asp:Label ID="lblOldPassword" runat="server" Font-Bold="True" Font-Names="楷体" Font-Size="Large" ForeColor="#000066" Text="旧密码："></asp:Label>
        <asp:TextBox ID="txtOldPassword1" runat="server" Font-Bold="True" Font-Names="楷体" Font-Size="Medium" Font-Underline="False" ForeColor="#000066" style="margin-bottom: 0px" Width="138px" TextMode="Password"></asp:TextBox>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    </p>
    <p style="text-align: center">
        &nbsp;&nbsp; &nbsp;
        <asp:Label ID="lblNewPassword" runat="server" Font-Bold="True" Font-Names="楷体" Font-Size="Large" ForeColor="#000066" Text="新密码："></asp:Label>
        <asp:TextBox ID="txtNewPassword1" runat="server" Font-Bold="True" Font-Names="楷体" Font-Size="Medium" Font-Underline="False" ForeColor="#000066" style="margin-bottom: 0px" Width="138px" TextMode="Password"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtNewPassword1" ErrorMessage="RequiredFieldValidator" Font-Bold="True" Font-Italic="True" Font-Names="楷体" Font-Size="Medium" ForeColor="#FF5050" InitialValue="000">密码不能为000</asp:RequiredFieldValidator>
    </p>
    <p style="text-align: center">
        <asp:Label ID="lblNewPassword0" runat="server" Font-Bold="True" Font-Names="楷体" Font-Size="Large" ForeColor="#000066" Text="确认新密码："></asp:Label>
        <asp:TextBox ID="txtNewPassword2" runat="server" Font-Bold="True" Font-Names="楷体" Font-Size="Medium" Font-Underline="False" ForeColor="#000066" style="margin-bottom: 0px" Width="138px" TextMode="Password"></asp:TextBox>
        <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="txtNewPassword1" ControlToValidate="txtNewPassword2" ErrorMessage="CompareValidator" Font-Bold="True" Font-Italic="True" Font-Names="楷体" Font-Size="Medium" ForeColor="#FF5050">密码不一样</asp:CompareValidator>
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
    </p>
    <p style="text-align: center">
        <asp:Label ID="lblInfo0" runat="server" Font-Bold="True" Font-Names="楷体" Font-Size="Medium" ForeColor="#FF5050">“确认新密码”与“新密码”项必须匹配。</asp:Label>
    </p>
    <p style="text-align: center">
        <asp:Button ID="btnUpdate" runat="server" Font-Bold="True" Font-Names="楷体" Font-Size="Large" ForeColor="#000066" OnClick="btnUpdate_Click" Text="更改密码" />
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button ID="btnCancel" runat="server" Font-Bold="True" Font-Names="楷体" Font-Size="Large" ForeColor="#000066" OnClick="btnCancel_Click" style="height: 28px" Text="取消" />
    </p>
    <p style="text-align: center">
        <asp:Label ID="userName" runat="server" Font-Bold="True" Font-Italic="False" Font-Names="楷体" Font-Size="Large" ForeColor="#FF5050"></asp:Label>
        <asp:Label ID="lblInfo1" runat="server" Font-Bold="True" Font-Names="楷体" Font-Size="Large" ForeColor="#FF5050"></asp:Label>
    </p>
    <p style="text-align: center">
        &nbsp;</p>
</asp:Content>
